package com.easy.frame.servers.sys.vo;

import com.easy.frame.base.api.pojo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 点击新增层级返回对象
 *
 * @author tp
 * @date 2020/12/25 10:07
 */
@Setter
@Getter
@ToString
public class SysMenusCustomVO extends BaseVO {

    private Long id;

    @ApiModelProperty("菜单自定义编号")
    private String code;

    @ApiModelProperty("菜单自定义名称")
    private String name;

    @ApiModelProperty("名称（英文）")
    private String nameEn;

    @ApiModelProperty("父级名称")
    private String parentName;

    @ApiModelProperty("是否相对地址[0不是，1是]")
    private Integer isRelativeAddress;

    @ApiModelProperty("是否刷新 [0代表未刷新，1代表已刷新]")
    private Boolean isRefresh;

    @ApiModelProperty("名称（其它语言）")
    private String nameOther;

    @ApiModelProperty("简称")
    private String abbr;

    @ApiModelProperty("是否被添加")
    private Boolean isAdd;

    @ApiModelProperty("是否跟随原有父路径 [1:原始菜单，0:新加菜单项]")
    private Boolean isOriginal;

    @ApiModelProperty("简称（英文）")
    private String abbrEn;

    @ApiModelProperty("简称（其它语言）")
    private String abbrOther;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("URL地址")
    private String url;

    @ApiModelProperty("URL参数")
    private String urlParam;

    @ApiModelProperty("图标路径")
    private String iconUrl;

    @ApiModelProperty("打开方式")
    private String openMode;

    @ApiModelProperty("是否预设应用")
    private Integer isBaseApp;

    @ApiModelProperty("长编码")
    private String path;

    @ApiModelProperty("父级长编码")
    private String parentPath;

    @ApiModelProperty("父级长编码名称")
    private String parentPathName;

    @ApiModelProperty("父级ID")
    private Long parentId;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("排序")
    private Integer orderNum;

    @ApiModelProperty("是否叶节点 [0否 1是]")
    private Integer leafNode;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

    @ApiModelProperty("创建人")
    private Long createBy;

    @ApiModelProperty("创建人名")
    private String createByName;

    @ApiModelProperty("修改人")
    private Long updateBy;

    @ApiModelProperty("修改人名")
    private String updateByName;

    @ApiModelProperty("修改时间")
    private Date refreshTime;
}
